package com.ruoyi.common.utils;

public class CommUtils {
    public static int get10Bit(Integer num) {
        if (num == 0) return 1;
        int res = 0;
        while (num != 0) {
            res += 1;
            num /= 10;
        }
        return res;
    }
}
